package com.ruoyi.house_sale.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户意向对象 CustPlan
 * 
 * @author ruoyi
 * @date 2022-04-09
 */
public class CustPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 意向编号 */
    private Long planid;

    /** 客户编号（关联客户资料表） */
    @Excel(name = "客户编号", readConverterExp = "关=联客户资料表")
    private Long custid;

    /** 意向业态（关联业态类型表） */
    @Excel(name = "意向业态", readConverterExp = "关=联业态类型表")
    private String termtypename;

    /** 房间名称（关联房产资料） */
    @Excel(name = "房间名称", readConverterExp = "关=联房产资料")
    private String hourseid;

    /** 户型名称 */
    @Excel(name = "户型名称")
    private String modelid;

    /** 付款方式（关联收款方式表） */
    @Excel(name = "付款方式", readConverterExp = "关=联收款方式表")
    private String paidtypeid;

    /** 意向总价 */
    @Excel(name = "意向总价")
    private BigDecimal plantotalprice;

    /** 意向单价 */
    @Excel(name = "意向单价")
    private BigDecimal planunitprice;

    /** 意向面积（--，50以下，51-80,81-90,91-100,100-120，121-140,141-200,201-300,300以上） */
    @Excel(name = "意向面积", readConverterExp = "-=-，50以下，51-80,81-90,91-100,100-120，121-140,141-200,201-300,300以上")
    private String planarea;

    /** 优先级（低，中，高，--） */
    @Excel(name = "优先级", readConverterExp = "低=，中，高，--")
    private String priority;

    /** 备注 */
    @Excel(name = "备注")
    private String demo;

    public void setPlanid(Long planid) 
    {
        this.planid = planid;
    }

    public Long getPlanid() 
    {
        return planid;
    }
    public void setCustid(Long custid) 
    {
        this.custid = custid;
    }

    public Long getCustid() 
    {
        return custid;
    }
    public void setTermtypename(String termtypename) 
    {
        this.termtypename = termtypename;
    }

    public String getTermtypename() 
    {
        return termtypename;
    }
    public void setHourseid(String hourseid) 
    {
        this.hourseid = hourseid;
    }

    public String getHourseid() 
    {
        return hourseid;
    }
    public void setModelid(String modelid) 
    {
        this.modelid = modelid;
    }

    public String getModelid() 
    {
        return modelid;
    }
    public void setPaidtypeid(String paidtypeid) 
    {
        this.paidtypeid = paidtypeid;
    }

    public String getPaidtypeid() 
    {
        return paidtypeid;
    }
    public void setPlantotalprice(BigDecimal plantotalprice) 
    {
        this.plantotalprice = plantotalprice;
    }

    public BigDecimal getPlantotalprice() 
    {
        return plantotalprice;
    }
    public void setPlanunitprice(BigDecimal planunitprice) 
    {
        this.planunitprice = planunitprice;
    }

    public BigDecimal getPlanunitprice() 
    {
        return planunitprice;
    }
    public void setPlanarea(String planarea) 
    {
        this.planarea = planarea;
    }

    public String getPlanarea() 
    {
        return planarea;
    }
    public void setPriority(String priority) 
    {
        this.priority = priority;
    }

    public String getPriority() 
    {
        return priority;
    }
    public void setDemo(String demo) 
    {
        this.demo = demo;
    }

    public String getDemo() 
    {
        return demo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("planid", getPlanid())
            .append("custid", getCustid())
            .append("termtypename", getTermtypename())
            .append("hourseid", getHourseid())
            .append("modelid", getModelid())
            .append("paidtypeid", getPaidtypeid())
            .append("plantotalprice", getPlantotalprice())
            .append("planunitprice", getPlanunitprice())
            .append("planarea", getPlanarea())
            .append("priority", getPriority())
            .append("demo", getDemo())
            .toString();
    }
}
